﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000615 RID: 1557
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GBGJBBNEPHF : IMessage<GBGJBBNEPHF>, IMessage, IEquatable<GBGJBBNEPHF>, IDeepCloneable<GBGJBBNEPHF>, IBufferMessage
	{
		// Token: 0x1700143C RID: 5180
		// (get) Token: 0x06004688 RID: 18056 RVA: 0x000C2E4D File Offset: 0x000C104D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GBGJBBNEPHF> Parser
		{
			get
			{
				return GBGJBBNEPHF._parser;
			}
		}

		// Token: 0x1700143D RID: 5181
		// (get) Token: 0x06004689 RID: 18057 RVA: 0x000C2E54 File Offset: 0x000C1054
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GBGJBBNEPHFReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700143E RID: 5182
		// (get) Token: 0x0600468A RID: 18058 RVA: 0x000C2E66 File Offset: 0x000C1066
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GBGJBBNEPHF.Descriptor;
			}
		}

		// Token: 0x0600468B RID: 18059 RVA: 0x000C2E6D File Offset: 0x000C106D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GBGJBBNEPHF()
		{
		}

		// Token: 0x0600468C RID: 18060 RVA: 0x000C2E80 File Offset: 0x000C1080
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GBGJBBNEPHF(GBGJBBNEPHF other) : this()
		{
			this.rogueMagicScepterInfoList_ = other.rogueMagicScepterInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600468D RID: 18061 RVA: 0x000C2EAA File Offset: 0x000C10AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GBGJBBNEPHF Clone()
		{
			return new GBGJBBNEPHF(this);
		}

		// Token: 0x1700143F RID: 5183
		// (get) Token: 0x0600468E RID: 18062 RVA: 0x000C2EB2 File Offset: 0x000C10B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LMBBCHNLHEK> RogueMagicScepterInfoList
		{
			get
			{
				return this.rogueMagicScepterInfoList_;
			}
		}

		// Token: 0x0600468F RID: 18063 RVA: 0x000C2EBA File Offset: 0x000C10BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GBGJBBNEPHF);
		}

		// Token: 0x06004690 RID: 18064 RVA: 0x000C2EC8 File Offset: 0x000C10C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GBGJBBNEPHF other)
		{
			return other != null && (other == this || (this.rogueMagicScepterInfoList_.Equals(other.rogueMagicScepterInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004691 RID: 18065 RVA: 0x000C2EFC File Offset: 0x000C10FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.rogueMagicScepterInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004692 RID: 18066 RVA: 0x000C2F30 File Offset: 0x000C1130
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004693 RID: 18067 RVA: 0x000C2F38 File Offset: 0x000C1138
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004694 RID: 18068 RVA: 0x000C2F41 File Offset: 0x000C1141
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.rogueMagicScepterInfoList_.WriteTo(ref output, GBGJBBNEPHF._repeated_rogueMagicScepterInfoList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06004695 RID: 18069 RVA: 0x000C2F68 File Offset: 0x000C1168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.rogueMagicScepterInfoList_.CalculateSize(GBGJBBNEPHF._repeated_rogueMagicScepterInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06004696 RID: 18070 RVA: 0x000C2FA1 File Offset: 0x000C11A1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GBGJBBNEPHF other)
		{
			if (other == null)
			{
				return;
			}
			this.rogueMagicScepterInfoList_.Add(other.rogueMagicScepterInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06004697 RID: 18071 RVA: 0x000C2FCF File Offset: 0x000C11CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06004698 RID: 18072 RVA: 0x000C2FD8 File Offset: 0x000C11D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.rogueMagicScepterInfoList_.AddEntriesFrom(ref input, GBGJBBNEPHF._repeated_rogueMagicScepterInfoList_codec);
				}
			}
		}

		// Token: 0x04001C15 RID: 7189
		private static readonly MessageParser<GBGJBBNEPHF> _parser = new MessageParser<GBGJBBNEPHF>(() => new GBGJBBNEPHF());

		// Token: 0x04001C16 RID: 7190
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001C17 RID: 7191
		public const int RogueMagicScepterInfoListFieldNumber = 3;

		// Token: 0x04001C18 RID: 7192
		private static readonly FieldCodec<LMBBCHNLHEK> _repeated_rogueMagicScepterInfoList_codec = FieldCodec.ForMessage<LMBBCHNLHEK>(26U, LMBBCHNLHEK.Parser);

		// Token: 0x04001C19 RID: 7193
		private readonly RepeatedField<LMBBCHNLHEK> rogueMagicScepterInfoList_ = new RepeatedField<LMBBCHNLHEK>();
	}
}
